﻿using Microsoft.EntityFrameworkCore;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
    public class HotelContext : DbContext
    {
        public HotelContext(DbContextOptions options) : base(options)
        {
        }
        /// <summary>
        /// 房间号
        /// </summary>
        public DbSet<RoomNumberModel> RoomNumbers { get; set; }
        /// <summary>
        /// 房间类型表
        /// </summary>
        public DbSet<RoomTypeModel> roomTypeModels { get; set; }
    }
}
